package com.niiwoo.civet.account.dto.response;

import com.niiwoo.civet.account.enums.OrderTypeEnum;
import com.niiwoo.civet.account.enums.TransFreezeStatusEnum;
import com.niiwoo.civet.account.enums.TransUnfreezeStatusEnum;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 交易解冻响应对象
 * Created by wangjichao on 2018/4/19.
 */
@Getter
@Setter
public class TransUnfreezeResponseDTO implements Serializable {

    private static final long serialVersionUID = -7463565145334820295L;
    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 订单类型
     */
    private OrderTypeEnum orderTypeEnum;

    /**
     * 解冻金额
     */
    private BigDecimal amount;

    /**
     * 返回存管解冻流水号
     */
    private String unfreezeRequestNo;

    /**
     * 解冻状态
     */
    private TransUnfreezeStatusEnum transUnfreezeStatusEnum;

    /**
     * 存管错误编码
     */
    private String errorCode;

    /**
     * 存管错误信息
     */
    private String errorMessage;

}
